<template>
  <a href="#back-top" class="go-top" @click="gototop">
    <i class="fa fa-angle-up"></i>
  </a>

</template>

<script>
export default {
  methods: {
    gototop: function(event) {
      event.preventDefault();
      $("html, body").animate({ scrollTop: 0 }, 300);
    }
  }
};
</script>

<style>
</style>
